package com.tust.app.domain;


public class Answer {
    private Integer id;

    private String content;

    private String answeruser;

    private String pubtime2;

    private Integer topicid;

    private Integer state2;

    public Answer() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAnsweruser() {
        return answeruser;
    }

    public void setAnsweruser(String answeruser) {
        this.answeruser = answeruser;
    }

    public String getPubtime2() {
        return pubtime2;
    }

    public void setPubtime2(String pubtime2) {
        this.pubtime2 = pubtime2;
    }

    public Integer getTopicid() {
        return topicid;
    }

    public void setTopicid(Integer topicid) {
        this.topicid = topicid;
    }

    public Integer getState2() {
        return state2;
    }

    public void setState2(Integer state2) {
        this.state2 = state2;
    }

    @Override
    public String toString() {
        return "Answer{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", answeruser='" + answeruser + '\'' +
                ", pubtime2='" + pubtime2 + '\'' +
                ", topicid=" + topicid +
                ", state2=" + state2 +
                '}';
    }
}